#pragma once
#ifndef TIMEDEVENT_H
#define TIMEDEVENT_H
#include"Event.h"
class TimedEvent:public Event
{
private:

	DateTime _startTime;
	DateTime _endTime;
	DateTime _duration;

public:
	TimedEvent(void);
	~TimedEvent(void);
	void setTimedEventStartTime(DateTime);
	void setTimedEventEndTime (DateTime);
	void setTimedEventDuration(DateTime);

	DateTime getTimedEventStartTime();
	DateTime getTimedEventEndTime();
	DateTime getTimedEventDuration();


	void printEvent();
	Event* clone() const { return new TimedEvent(*this); }

};
#endif
